// s1是基本数据类型，怎么会有indexOf()
const s1 = 'index_name'
let index = s1.indexOf('_')
console.log(index); //5
